package com.heyun.bean;

import java.util.ArrayList;
import java.util.List;
/**
 * 封装最终返回给前端的  图表整体数据
 * @author Administrator
 *
 */
public class BarData {
	private List<String> legend = new ArrayList<String>();//图例 
	private List<String> category = new ArrayList<String>();//横坐标 
	private List<SeriesBar> series = new ArrayList<SeriesBar>();//纵坐标  
    
	public BarData() {}
	public BarData(List<String> legend, List<String> category,
			List<SeriesBar> series) {
		super();
		this.legend = legend;
		this.category = category;
		this.series = series;
	}
	public List<String> getLegend() {
		return legend;
	}
	public void setLegend(List<String> legend) {
		this.legend = legend;
	}
	public List<String> getCategory() {
		return category;
	}
	public void setCategory(List<String> category) {
		this.category = category;
	}
	public List<SeriesBar> getSeries() {
		return series;
	}
	public void setSeries(List<SeriesBar> series) {
		this.series = series;
	}
    
}
